﻿<%@ Page Title="Sua SP" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="SuaSanPham.aspx.cs" Inherits="WebsiteBanHang.SuaSanPham" %>
<asp:Content ID="HeaderContent" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="AddContent" ContentPlaceHolderID="Content1" runat="server">
    <asp:Label ID="Label1" runat="server" Text="Mã sản phẩm:"></asp:Label>
    <asp:TextBox ID="txtMaSP" runat="server" ReadOnly="True"></asp:TextBox>
    <br />
    <asp:Label ID="Label2" runat="server" Text="Nhập tên sản phẩm:"></asp:Label>
    <asp:TextBox ID="txtTenSP" runat="server"></asp:TextBox>
    <br />
    <asp:Image ID="Image1" runat="server" Width="120px" Height="120px" ImageAlign="Middle"/>
    <br />
    <asp:Label ID="Label3" runat="server" Text="Chọn hình ảnh:"></asp:Label>
    <asp:FileUpload ID="FileUpload1" runat="server" />    
    <br />
    <asp:Label ID="Label4" runat="server" Text="Chọn nhà sản xuất:"></asp:Label>
    <asp:DropDownList ID="ddlnhaSanXuat" runat="server" Width="165px">
    </asp:DropDownList>
    <br />
    <asp:Label ID="Label5" runat="server" Text="Chọn loại sản phẩm:"></asp:Label>
    <asp:DropDownList ID="ddlloaiSanPham" runat="server" Width="165px">
    </asp:DropDownList>
    <br />    
    <asp:Label ID="Label6" runat="server" Text="Giá bán:"></asp:Label>
    <asp:TextBox ID="txtGiaBan" runat="server"></asp:TextBox>
    <br />    
    <asp:Label ID="Label7" runat="server" Text="Phần trăm khuyến mãi:"></asp:Label>

    <asp:RadioButtonList ID="rdiKMmai" runat="server">
        <asp:ListItem Value="0.1">10%</asp:ListItem>
        <asp:ListItem Value="0.2">20%</asp:ListItem>
        <asp:ListItem Value="0.3">30%</asp:ListItem>
    </asp:RadioButtonList>
    <br />
    <asp:Label ID="Label8" runat="server" Text="Số lượng"></asp:Label>
    <asp:TextBox ID="txtSoLuong" runat="server"></asp:TextBox>
    <br />
    <asp:Button ID="btnSuaSP" runat="server" Text="Cập Nhật" 
        onclick="btnSuaSP_Click"  />
</asp:Content>
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">
</asp:Content>
